package com.boot.customer.pojo;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;


/**
 * @author codegen 2018-06-13 09:49:02
 */
@Entity
@Table(name = "CUSTOMER")
public class Customer implements Serializable {

    /**
     * 主键
     **/
    @Id
    private String id;

    /**
     * 手机号
     **/
    private String telephone;

    /**
     * 姓名
     **/
    private String name;

    /**
     * 昵称
     **/
    private String nickname;

    /**
     * 省
     **/
    private String provinceCode;

    /**
     * 市
     **/
    private String cityCode;

    /**
     * 区/县
     **/
    private String districtCode;

    /**
     * 详细地址
     **/
    private String address;

    /**
     * 性别 0男 1女
     **/
    private String sex;

    /**
     * 邮箱
     **/
    private String email;

    /**
     * 用户状态 0：停用，1：正常
     **/
    private String status;

    /**
     * 是否是第一次洗车 0：已洗车，1：未洗车
     **/
    private String nclaunch;

    /**
     * 注册时间
     **/
    private Date createTime;

    /**  **/
    private String wxApid;

    /**
     * 0关注，为关注
     **/
    private String isSubscrib;

    /**  **/
    private String salt;

    /**  **/
    private String password;

    /**
     * 微信表ID
     **/
    private String WUId;

    /**
     * 注册渠道
     **/
    private String channel;

    /**
     * 所属物业ID
     **/
    private String agentId;

    public Customer() {
    }

    public Customer(String id, String telephone) {
        this.id = id;
        this.telephone = telephone;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getProvinceCode() {
        return provinceCode;
    }

    public void setProvinceCode(String provinceCode) {
        this.provinceCode = provinceCode;
    }

    public String getCityCode() {
        return cityCode;
    }

    public void setCityCode(String cityCode) {
        this.cityCode = cityCode;
    }

    public String getDistrictCode() {
        return districtCode;
    }

    public void setDistrictCode(String districtCode) {
        this.districtCode = districtCode;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getWxApid() {
        return wxApid;
    }

    public void setWxApid(String wxApid) {
        this.wxApid = wxApid;
    }

    public String getIsSubscrib() {
        return isSubscrib;
    }

    public void setIsSubscrib(String isSubscrib) {
        this.isSubscrib = isSubscrib;
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getWUId() {
        return WUId;
    }

    public void setWUId(String wUId) {
        this.WUId = wUId;
    }

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }

    public String getAgentId() {
        return agentId;
    }

    public void setAgentId(String agentId) {
        this.agentId = agentId;
    }

    public String getNclaunch() {
        return nclaunch;
    }

    public void setNclaunch(String nclaunch) {
        this.nclaunch = nclaunch;
    }
}